home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01b.txt / 000062_icon-group-sender_Wed Apr 11 09:11:24 2001.msg < prev    next >
Internet Message Format  |  2002-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id f3BG9rE01772
  4.     for icon-group-addresses; Wed, 11 Apr 2001 09:09:53 -0700 (MST)
  5. Message-Id: <200104111609.f3BG9rE01772@baskerville.CS.Arizona.EDU>
  6. Date: 11 Apr 2001  11:42:37 BST
  7. From: rjhare@ed.ac.uk
  8. Subject: Cyclic numbers
  9. To: icon-group@cs.arizona.edu
  10. Organisation:  Edinburgh Parallel Computing Centre
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: RO
  13. Content-Length: 606
  14.  
  15. I just received a message from a colleague:
  16.  
  17. > 142857 is a cyclic number, the numbers of which always appear in the
  18. > same order but rotated around when multipled by any number from 1 to 6. 
  19. > 142857 * 2 = 285714 
  20. > 142857 * 3 = 428571 
  21. > 142857 * 4 = 571428 
  22. > 142857 * 5 = 714285 
  23. > 142857 * 6 = 857142 
  24. > So can you find any more numbers like this? Is there a simple algorithm
  25. > for finding them or is this another good application for parallel
  26. > machines? 
  27.  
  28. I don't remember seeing this one in the Icon mailing list before - anyone
  29. got any ideas?
  30.  
  31. Roger Hare
  32. Edinburgh Parallel Computing Centre
  33.